package com.java.service;

import com.java.dao.Bank2Mapper;
import com.java.dao.BankMapper;
import com.java.pojo.Bank;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BookServiceImpl implements BankService  {

    @Autowired
    private BankMapper bankMapper;


    @Override
    public List<Bank> getBankList() {
        return bankMapper.getBankList();
    }

    @Override
    public Double getCountMoney() {
        return bankMapper.getCountMoney();
    }
}
